package com.dwj.auto.comment.service;

import com.dwj.auto.comment.common.response.PageResponse;
import com.dwj.auto.comment.common.response.Response;
import com.dwj.auto.comment.dao.entity.Exam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dwj.auto.comment.model.form.ExamForm;
import com.dwj.auto.comment.model.req.ExamCriteria;
import com.dwj.auto.comment.model.req.ExamSearchCriteria;
import com.dwj.auto.comment.model.vo.ExamSearchVo;
import com.dwj.auto.comment.model.vo.ExamVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dwjian
 * @since 2020-01-21
 */
public interface IExamService extends IService<Exam> {

    PageResponse<ExamVo> getList(ExamCriteria pagination);

    PageResponse<ExamSearchVo> searchList(ExamSearchCriteria pagination);

    Response<String> edit(ExamForm form);
}
